<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Cryptic Cabinet: CrypticCabinet.UI.UISystem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="Logo 100x100px.png"/></td>
  <td id="projectalign">
   <div id="projectname">Cryptic Cabinet
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">CrypticCabinet.UI.UISystem Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Singleton to control the menus and windows for the game UI.  
 <a href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for CrypticCabinet.UI.UISystem:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acd96b62cef0d459d2b9d0d131ec051b3" id="r_acd96b62cef0d459d2b9d0d131ec051b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#acd96b62cef0d459d2b9d0d131ec051b3">ShowMessageWithOneButton</a> (string messageText, string button1Text, Action button1Action)</td></tr>
<tr class="memdesc:acd96b62cef0d459d2b9d0d131ec051b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show message with one customized button. Note: the message automatically disappears when the user presses the button.  <br /></td></tr>
<tr class="separator:acd96b62cef0d459d2b9d0d131ec051b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade367d4dfdaf1261f21fd556d6f7820a" id="r_ade367d4dfdaf1261f21fd556d6f7820a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#ade367d4dfdaf1261f21fd556d6f7820a">ShowMessage</a> (string text, PendingTasksHandler.PendingAction onHiddenCallback=null, float hideTime=3.0f)</td></tr>
<tr class="memdesc:ade367d4dfdaf1261f21fd556d6f7820a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show text message to the user, without showing any button. Note: To show buttons, use ShowMessageWithOneButton or ShowMessageWithTwoButtons instead.  <br /></td></tr>
<tr class="separator:ade367d4dfdaf1261f21fd556d6f7820a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a011a8784cc3b17d7b6cdefc3885e47e8" id="r_a011a8784cc3b17d7b6cdefc3885e47e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a011a8784cc3b17d7b6cdefc3885e47e8">ShowNetworkSelectionMenu</a> (Action&lt; string &gt; hostAction, Action&lt; string &gt; joinAction, string defaultRoomName=null)</td></tr>
<tr class="separator:a011a8784cc3b17d7b6cdefc3885e47e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36c70b6923ab6357f7e951a5aeba01f8" id="r_a36c70b6923ab6357f7e951a5aeba01f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a36c70b6923ab6357f7e951a5aeba01f8">HideNetworkSelectionMenu</a> ()</td></tr>
<tr class="separator:a36c70b6923ab6357f7e951a5aeba01f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa6daae3e163c78a2ac6c5e1edb162c4" id="r_afa6daae3e163c78a2ac6c5e1edb162c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#afa6daae3e163c78a2ac6c5e1edb162c4">ShowInGameMenu</a> ()</td></tr>
<tr class="separator:afa6daae3e163c78a2ac6c5e1edb162c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a456d5b783576bc3427053186c206160e" id="r_a456d5b783576bc3427053186c206160e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a456d5b783576bc3427053186c206160e">HideInGameMenu</a> ()</td></tr>
<tr class="separator:a456d5b783576bc3427053186c206160e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cda9d816e9c56b92e7397a6d8f05149" id="r_a5cda9d816e9c56b92e7397a6d8f05149"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a5cda9d816e9c56b92e7397a6d8f05149">ShowMainMenu</a> ()</td></tr>
<tr class="separator:a5cda9d816e9c56b92e7397a6d8f05149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e55038cc594a45e9bda530d490b6965" id="r_a2e55038cc594a45e9bda530d490b6965"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a2e55038cc594a45e9bda530d490b6965">HideMainMenu</a> ()</td></tr>
<tr class="separator:a2e55038cc594a45e9bda530d490b6965"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a722fb4aae0692f0ae88b43efdfe600aa" id="r_a722fb4aae0692f0ae88b43efdfe600aa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a722fb4aae0692f0ae88b43efdfe600aa">ShowCredits</a> ()</td></tr>
<tr class="separator:a722fb4aae0692f0ae88b43efdfe600aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f52e58379f41a6824e22f474a065931" id="r_a3f52e58379f41a6824e22f474a065931"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a3f52e58379f41a6824e22f474a065931">HideCredits</a> ()</td></tr>
<tr class="separator:a3f52e58379f41a6824e22f474a065931"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c6f6c13c59216a5695baa5564e156b6" id="r_a9c6f6c13c59216a5695baa5564e156b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a9c6f6c13c59216a5695baa5564e156b6">HideAll</a> ()</td></tr>
<tr class="separator:a9c6f6c13c59216a5695baa5564e156b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Singleton to control the menus and windows for the game UI. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a9c6f6c13c59216a5695baa5564e156b6" name="a9c6f6c13c59216a5695baa5564e156b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c6f6c13c59216a5695baa5564e156b6">&#9670;&#160;</a></span>HideAll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.HideAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a456d5b783576bc3427053186c206160e">CrypticCabinet.UI.UISystem.HideInGameMenu()</a>, and <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a36c70b6923ab6357f7e951a5aeba01f8">CrypticCabinet.UI.UISystem.HideNetworkSelectionMenu()</a>.</p>

<p class="reference">Referenced by <a class="el" href="class_cryptic_cabinet_1_1_game_management_1_1_room_setup_1_1_object_spawning_logic_phase.html#a0f3008845842c5645829a55b99395749">CrypticCabinet.GameManagement.RoomSetup.ObjectSpawningLogicPhase.InitializeInternal()</a>, <a class="el" href="class_cryptic_cabinet_1_1_game_management_1_1_wait_for_guests_1_1_wait_for_guests_phase.html#ad952e36894cd930e039cf5121065ebce">CrypticCabinet.GameManagement.WaitForGuests.WaitForGuestsPhase.InitializeInternal()</a>, <a class="el" href="class_cryptic_cabinet_1_1_intro_outro_1_1_act_three_multi_user_manager.html#a7b913d8aaa1a88f1ed29e9932fc0c52a">CrypticCabinet.IntroOutro.ActThreeMultiUserManager.OnActThreeComplete()</a>, <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_in_game_menu.html#aa2981b11014d69731ac0deaf8f266094">CrypticCabinet.UI.Modal.InGameMenu.QuitToMainMenu()</a>, <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#afa6daae3e163c78a2ac6c5e1edb162c4">CrypticCabinet.UI.UISystem.ShowInGameMenu()</a>, and <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#ade367d4dfdaf1261f21fd556d6f7820a">CrypticCabinet.UI.UISystem.ShowMessage()</a>.</p>

</div>
</div>
<a id="a3f52e58379f41a6824e22f474a065931" name="a3f52e58379f41a6824e22f474a065931"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f52e58379f41a6824e22f474a065931">&#9670;&#160;</a></span>HideCredits()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.HideCredits </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a456d5b783576bc3427053186c206160e" name="a456d5b783576bc3427053186c206160e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a456d5b783576bc3427053186c206160e">&#9670;&#160;</a></span>HideInGameMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.HideInGameMenu </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">Referenced by <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a9c6f6c13c59216a5695baa5564e156b6">CrypticCabinet.UI.UISystem.HideAll()</a>, and <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_in_game_menu.html#a055024f70756a44c3e2c39e7434b3de1">CrypticCabinet.UI.Modal.InGameMenu.ToggleInGameMenu()</a>.</p>

</div>
</div>
<a id="a2e55038cc594a45e9bda530d490b6965" name="a2e55038cc594a45e9bda530d490b6965"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e55038cc594a45e9bda530d490b6965">&#9670;&#160;</a></span>HideMainMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.HideMainMenu </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">Referenced by <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_main_menu.html#acd3dd8db4630b04cc833f6fb0c5cd09b">CrypticCabinet.UI.Modal.MainMenu.OnCreditsPressed()</a>, <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_main_menu.html#acdb1186fd0973660177c63885e6526fa">CrypticCabinet.UI.Modal.MainMenu.OnMultiplayerPressed()</a>, and <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_main_menu.html#a74d856db494a1e74dabad9e59dee8535">CrypticCabinet.UI.Modal.MainMenu.OnSinglePlayerPressed()</a>.</p>

</div>
</div>
<a id="a36c70b6923ab6357f7e951a5aeba01f8" name="a36c70b6923ab6357f7e951a5aeba01f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36c70b6923ab6357f7e951a5aeba01f8">&#9670;&#160;</a></span>HideNetworkSelectionMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.HideNetworkSelectionMenu </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">Referenced by <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a9c6f6c13c59216a5695baa5564e156b6">CrypticCabinet.UI.UISystem.HideAll()</a>, <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_multiplayer_menu.html#ad4ec02c808739d1c26b91937bb8e30f6">CrypticCabinet.UI.Modal.MultiplayerMenu.OnBackClicked()</a>, and <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_multiplayer_menu.html#ad7adf06c8c5f0549ca307c8aaf7ee7c7">CrypticCabinet.UI.Modal.MultiplayerMenu.OnJoinClicked()</a>.</p>

</div>
</div>
<a id="a722fb4aae0692f0ae88b43efdfe600aa" name="a722fb4aae0692f0ae88b43efdfe600aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a722fb4aae0692f0ae88b43efdfe600aa">&#9670;&#160;</a></span>ShowCredits()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.ShowCredits </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">Referenced by <a class="el" href="class_cryptic_cabinet_1_1_intro_outro_1_1_act_three_multi_user_manager.html#a7b913d8aaa1a88f1ed29e9932fc0c52a">CrypticCabinet.IntroOutro.ActThreeMultiUserManager.OnActThreeComplete()</a>, and <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_main_menu.html#acd3dd8db4630b04cc833f6fb0c5cd09b">CrypticCabinet.UI.Modal.MainMenu.OnCreditsPressed()</a>.</p>

</div>
</div>
<a id="afa6daae3e163c78a2ac6c5e1edb162c4" name="afa6daae3e163c78a2ac6c5e1edb162c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa6daae3e163c78a2ac6c5e1edb162c4">&#9670;&#160;</a></span>ShowInGameMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.ShowInGameMenu </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a9c6f6c13c59216a5695baa5564e156b6">CrypticCabinet.UI.UISystem.HideAll()</a>.</p>

<p class="reference">Referenced by <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_in_game_menu.html#a055024f70756a44c3e2c39e7434b3de1">CrypticCabinet.UI.Modal.InGameMenu.ToggleInGameMenu()</a>.</p>

</div>
</div>
<a id="a5cda9d816e9c56b92e7397a6d8f05149" name="a5cda9d816e9c56b92e7397a6d8f05149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cda9d816e9c56b92e7397a6d8f05149">&#9670;&#160;</a></span>ShowMainMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.ShowMainMenu </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="class_cryptic_cabinet_1_1_game_management_1_1_game_manager.html#a505e87f2a24b06a10918d9c6ac507912">CrypticCabinet.GameManagement.GameManager.GetCurrentGamePhase()</a>.</p>

<p class="reference">Referenced by <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_multiplayer_menu.html#ad4ec02c808739d1c26b91937bb8e30f6">CrypticCabinet.UI.Modal.MultiplayerMenu.OnBackClicked()</a>.</p>

</div>
</div>
<a id="ade367d4dfdaf1261f21fd556d6f7820a" name="ade367d4dfdaf1261f21fd556d6f7820a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade367d4dfdaf1261f21fd556d6f7820a">&#9670;&#160;</a></span>ShowMessage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.ShowMessage </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PendingTasksHandler::PendingAction&#160;</td>
          <td class="paramname"><em>onHiddenCallback</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>hideTime</em> = <code>3::0f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Show text message to the user, without showing any button. Note: To show buttons, use ShowMessageWithOneButton or ShowMessageWithTwoButtons instead. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>The text message to show</td></tr>
    <tr><td class="paramname">onHiddenCallback</td><td>Optional action to perform once the text message auto-hides</td></tr>
    <tr><td class="paramname">hideTime</td><td>How long before the message automatically hides. Set hideTime to a negative value to disable auto-hide.</td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html#a9c6f6c13c59216a5695baa5564e156b6">CrypticCabinet.UI.UISystem.HideAll()</a>, and <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_modal_message.html#a875dc2678a737c43be8574a5b127f0ff">CrypticCabinet.UI.Modal.ModalMessage.SetText()</a>.</p>

<p class="reference">Referenced by <a class="el" href="class_cryptic_cabinet_1_1_photon_1_1_photon_connector.html#a88863ebf0fd793ed1caf56f8c0fe3cb9">CrypticCabinet.Photon.PhotonConnector.OnConnectedToServer()</a>, <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_multiplayer_menu.html#ad7adf06c8c5f0549ca307c8aaf7ee7c7">CrypticCabinet.UI.Modal.MultiplayerMenu.OnJoinClicked()</a>, <a class="el" href="class_cryptic_cabinet_1_1_photon_1_1_photon_connector.html#af2638cfc2825008c4997e4f2f9e56f1b">CrypticCabinet.Photon.PhotonConnector.OnSessionListUpdated()</a>, and <a class="el" href="class_cryptic_cabinet_1_1_game_management_1_1_game_manager.html#a0d6b27910b978085a05ffe254b303512">CrypticCabinet.GameManagement.GameManager.StartGameplay()</a>.</p>

</div>
</div>
<a id="acd96b62cef0d459d2b9d0d131ec051b3" name="acd96b62cef0d459d2b9d0d131ec051b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd96b62cef0d459d2b9d0d131ec051b3">&#9670;&#160;</a></span>ShowMessageWithOneButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.ShowMessageWithOneButton </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>messageText</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>button1Text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Action&#160;</td>
          <td class="paramname"><em>button1Action</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Show message with one customized button. Note: the message automatically disappears when the user presses the button. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">messageText</td><td>Text for the message</td></tr>
    <tr><td class="paramname">button1Text</td><td>Text for the button</td></tr>
    <tr><td class="paramname">button1Action</td><td>Action performed when the button is pressed</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a011a8784cc3b17d7b6cdefc3885e47e8" name="a011a8784cc3b17d7b6cdefc3885e47e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a011a8784cc3b17d7b6cdefc3885e47e8">&#9670;&#160;</a></span>ShowNetworkSelectionMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrypticCabinet.UI.UISystem.ShowNetworkSelectionMenu </td>
          <td>(</td>
          <td class="paramtype">Action&lt; string &gt;&#160;</td>
          <td class="paramname"><em>hostAction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Action&lt; string &gt;&#160;</td>
          <td class="paramname"><em>joinAction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>defaultRoomName</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_modal_1_1_multiplayer_menu.html#a8eedc8ff42c15a8e1a4d9291ed46e275">CrypticCabinet.UI.Modal.MultiplayerMenu.Initialize()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_u_i_system_8cs.html">UISystem.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_cryptic_cabinet.html">CrypticCabinet</a></li><li class="navelem"><a class="el" href="namespace_cryptic_cabinet_1_1_u_i.html">UI</a></li><li class="navelem"><a class="el" href="class_cryptic_cabinet_1_1_u_i_1_1_u_i_system.html">UISystem</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
  </ul>
</div>
</body>
</html>
